﻿#ifndef WIDGET_H
#define WIDGET_H
#include <QStringListModel>
#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE
class QUdpSocket;
class Widget : public QWidget
{
    Q_OBJECT
    
public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
    void send();
    void open();
private:
    Ui::Widget *ui;
    QStringListModel* model;
    QUdpSocket* udpSocket;

};
#endif // WIDGET_H